<template>
    <div>
        <div class="loading">
            <img src="../components/yundong.gif" alt="">
            <span>给我乖乖等着</span>
        </div>
    </div>
</template>
<script>
export default {
    name:"loading"
}
</script>
<style lang="scss" scoped>
 .loading{
     display: flex;
     flex-direction: column;
     position: fixed;
     z-index: 999;
     top: 50%;
     left: 50%;
     transform: translate(-50%,-50%);
 }
 .loading img{
     width: 300px;
     height: 300px;
 }
  .loading span{
      text-align: center;
  }
</style>
